Skip to content

actl overlay: allow mpirun as root (ENG-128)#10

Merged
Abdelsalam-Abbas merged 1 commit into
asterafrom
abbas1/eng-128-md-workflows-actl-image-allow-mpirun-as-root
Jul 7, 2026
Merged

actl overlay: allow mpirun as root (ENG-128)#10
Abdelsalam-Abbas merged 1 commit into
asterafrom
abbas1/eng-128-md-workflows-actl-image-allow-mpirun-as-root

Conversation

@Abdelsalam-Abbas

Copy link
Copy Markdown
Contributor

Fixes ENG-128 (https://linear.app/astera/issue/ENG-128).

actl workspace pods run as root by convention, so OpenMPI's root guard aborts every mpirun (reported by Taylor Womack). This bakes OMPI_ALLOW_RUN_AS_ROOT=1 and OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1 into the ENV block of Dockerfile.actl, matching NVIDIA NGC HPC image practice.

Deliberately not added to Dockerfile.base/Dockerfile.gromacs: those portable stages are run standalone with docker run --user $(id -u), where the root guard stays meaningful.

Validated with docker buildx build --check --build-arg GROMACS_IMAGE=scratch -f Dockerfile.actl . (no warnings), same as CI.

actl workspace pods run as root by convention, so OpenMPI's root guard
aborts every mpirun. Bake OMPI_ALLOW_RUN_AS_ROOT(_CONFIRM)=1 into the
actl stage only; base/gromacs stay unchanged since standalone runs use
--user and the guard remains meaningful there.
@Abdelsalam-Abbas
Abdelsalam-Abbas merged commit 32403a3 into astera Jul 7, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants